﻿// -------------------------------------------------------------------------
//    @FileName         :    NFTransInsertName.h
//    @Author           :    Gao.Yi
//    @Date             :    2025-08-18
//    @Email			:    445267987@qq.com
//    @Module           :    NFTransInsertName
//    @Desc             :    
//
// -------------------------------------------------------------------------

#pragma once

#include "proto_common_db.pb.h"
#include "NFComm/NFShmStl/NFShmString.h"
#include "NFLogicCommon/NFLogicShmTypeDefines.h"
#include "NFServerComm/NFServerCommon/NFCacheDataInsertTransTemplate.h"

class NFTransInsertName : public NFCacheDataInsertTransTemplate<NFTransInsertName, proto_ff::tbName, EOT_TRANS_INSERT_NAME>
{
public:
    NFTransInsertName();
    ~NFTransInsertName() override;
    int CreateInit();
    int ResumeInit();
public:
    int InsertCacheDataRes(const NFrame::storesvr_insertobj_res* pRes, int32_t errCode) override;

    int InsertCacheDataReq(uint64_t ullId, int iReason, const google::protobuf::Message& stPbClass) override;

public:
    NFShmString<32> m_accountId;
};
